<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Using HTML code to display HTML</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { margin-left:40px; font-weight:bold; font-size:12pt; }
p.whs2 { margin-left:40px; color:#808080; }
p.whs3 { margin-left:40px; }
ol.whs4 { list-style:decimal; }
img_whs5 { border:none; width:16px; height:14px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nDisplaying HTML content in a document: HTML containers\nUsing HTML code to display HTML");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Using HTML code to display HTML</h1>
<p>You can directly enter the HTML code when you create an HTML container. 
 When the document is executed in MicroStrategy Web, the HTML code is executed. 
 </p>
<p><span style="font-weight: bold;"><B>Note</B></span>: In Design View in both 
 Desktop and MicroStrategy Web, the actual HTML code is displayed.</p>
<p>For expanded examples, see the <span style="font-style: italic;"><I>MicroStrategy 
 Report Services Document Creation Guide</I></span>.</p>
<h2>HTML containers in MicroStrategy Web</h2>
<p>For example, a document contains an HTML container. In View Mode in 
 MicroStrategy Web, it displays as shown below:</p>
<p class="whs1">HTML 
 code</p>
<p class="whs2">This is a paragraph in HTML 
 code. The font is gray.</p>
<p>The HTML code in it is very simple, but you can use any HTML codes. 
 </p>
<p>In View Mode, Interactive Mode, and Editable Mode in MicroStrategy Web, 
 all valid HTML is supported. The HTML code is interpreted by the user’s 
 browser. Not all HTML codes are supported in Flash Mode in MicroStrategy 
 Web. The following HTML codes are supported in Flash Mode:</p>
<ul>
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;A href, 
 event, target&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;B&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;BR&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;FONT color, 
 face, size&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;IMG src, 
 width, height, align, hspace, vspace, id, checkPolicyFile&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;I&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;LI&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;P align, 
 class&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;SPAN class&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;TextFormat 
 blockindent, indent, leading, leftmargin, rightmargin, tabstops&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;U&gt;</p></li>
</ul>
<p><span style="font-weight: bold;"><B>Note</B></span>: For a full description 
 of the HTML that Flash supports, see the Adobe website at livedocs.adobe.com/flex/201/langref/flash/text/TextField.html#htmlText. 
 </p>
<h2>HTML containers in PDF and Excel</h2>
<p>In PDF View in Desktop, and when the document is exported to PDF or 
 Excel, only the text in the HTML container is displayed. The formatting 
 is determined by the formatting of the HTML container, not the HTML code 
 within it. Notice that the first line is the same size and color as the 
 second line, unlike in the previous sample.</p>
<p class="whs3">HTML code</p>
<p class="whs3">This is a paragraph in HTML code. The font 
 is gray.</p>
<p>Anything within the following tags is removed, and does not display:</p>
<ul>
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&nbsp;&lt;HEAD&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;STYLE&gt;</p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>&lt;SCRIPT&gt;</p></li>
</ul>
<h2>To insert a HTML container that uses HTML code</h2>
<ol type="1" class="whs4">
	
<li class=p><p>Open a document in <span style="font-weight: bold;"><B>Design</B></span> 
 or <span style="font-weight: bold;"><B>Editable</B></span> Mode. </p></li>
	
<li class=p><p>Do one of the following:</p></li>
	<ul>
<li style="list-style: disc;" type=disc class=p><p>Click the HTML 
 Container icon <img src="images/HTML_container_icon.gif" width="16px" height="14px" border="0" class="img_whs5"> &nbsp;on 
 the toolbar. </p></li>
		
<li style="list-style: disc;" type=disc class=p><p>From the <span 
 style="font-weight: bold;"><B>Insert</B></span> menu, select <span style="font-weight: bold;"><B>HTML 
 Container</B></span>.</p></li>
	</ul>
	
<li class=p><p>On the Layout area, click and drag in the position in 
 which to insert the HTML container. </p></li>
	
<li class=p><p>Right-click the HTML container and select <span style="font-weight: bold;"><B>Properties 
 and Formatting</B></span>. The Properties and Formatting dialog box opens. 
 </p></li>
	
<li class=p><p>By default, an HTML container uses HTML code rather 
 than a URL (see <span style="color: #ff0000;"><font color=red >
<a href="Displaying_a_website_using_a_URL_(IFrame).htm">Displaying 
 a website using a URL (iFrame)</a></font></span>). Ensure that <span style="font-weight: bold;"><B>HTML 
 Text</B></span> is selected.</p></li>
	
<li class=p><p>Click <span style="font-weight: bold;"><B>OK </B></span><span>to 
 save your changes. </span></p></li>
	
<li class=p><p>Double-click in the HTML container to enter text. </p></li>
	
<li class=p><p>Enter the HTML code in the HTML container. To create 
 a new line, press <span style="font-weight: bold;"><B>ENTER</B></span>. </p></li>
	
<li class=p><p>When you have finished typing click anywhere outside 
 the HTML container. The HTML code is displayed in the HTML container in 
 Design View. </p></li>
	
<li class=p><p>Switch to View mode to see the changes. </p></li>
</ol>
<h2>Related topics</h2>
<ul>
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>
<a href="HTML_Containers.htm">Displaying 
 HTML content in a document: HTML containers</a></p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>
<a href="Displaying_a_website_using_a_URL_(IFrame).htm">Displaying 
 a website using a URL (IFrame)</a></p></li>
	
<li class=p-TopicTextBulleted><p class=TopicTextBulleted>
<a href="Formatting_HTML_containers.htm">Formatting 
 HTML containers</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
